<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>提交post请求</title>
	</head>
	<body>
		<h2>handle-post.js, handle-upload.js文件处理该post请求</h2>
		<form action="http://127.0.0.1/dopost" method="post" enctype="multipart/form-data">
			<p>name:<input type="text" name="name" id="name" value="" /></p>
			<p>sex:<input type="radio" name="sex" value="男"/>男
			       <input type="radio" name="sex" value="女"/>女
			</p>
			<p>hobby:<input type="checkbox" name="hobby" value="音乐"/>音乐
			         <input type="checkbox" name="hobby" value="健身"/>健身
			         <input type="checkbox" name="hobby" value="瑜伽"/>瑜伽
			</p>
			<p><input type="file" name="img" id="img"/></p>
			<p><input type="submit" id="submit"/></p>
		</form>
	</body>
</html>
